package com.wtpaint.lib.bus;

public class ZSubscription {

    private Object subscriber;
    private ZSubscriberMethod subscriberMethod;

    public ZSubscription(Object subscriber, ZSubscriberMethod subscriberMethod) {
        this.subscriber = subscriber;
        this.subscriberMethod = subscriberMethod;
    }

    public Object getSubscriber() {
        return subscriber;
    }

    public ZSubscriberMethod getSubscriberMethod() {
        return subscriberMethod;
    }
}
